package com.ak.framework.design.builder;

import java.util.ArrayList;
import java.util.List;

public class DecorationPackageMenu implements IMenu{

    // 装修清单
    private List<Matter> list = new ArrayList<>();

    // 装修价格
    private Double price = 0.00;

    // 面积
    private Double area;

    // 装修等级
    private String grade;

    private DecorationPackageMenu() {
    }

    public DecorationPackageMenu(Double area, String grade) {
        this.area = area;
        this.grade = grade;
    }

    @Override
    public IMenu appendCeiling(Matter matter) {
        list.add(matter);
        return this;
    }

    @Override
    public IMenu appendCoat(Matter matter) {
        return null;
    }

    @Override
    public IMenu appendFloor(Matter matter) {
        return null;
    }

    @Override
    public IMenu appendTile(Matter matter) {
        return null;
    }

    @Override
    public String getDetail() {
        return null;
    }
}
